package com.abiao.shop.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @Description: Order  订单持久层实体类
 * @Author: AB
 * @Date: 2021-07-16
 * @Version:v1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Order {
    private long id;                    //订单id
    private long userId;                //用户id
    private long goodsId;               //商品id
    private long deliveryAddrId;        //收货地址id
    private String goodsName;           //商品名
    private int goodsCount;             //商品数量
    private float goodsPrice;           //商品价格
    private int orderChannel;           //下单渠道
    private int status;                 //订单状态
    private Date createDate;            //订单创建时间
    private Date payDate;               //支付时间

}
